﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Customer.aspx.cs" Inherits="WEALTH.Customer" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link rel="stylesheet" href="css/liststyle.css" type="text/css" media="screen" />
    <link href="css/customers.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">

        $(document).ready(function () {

            // Store variables

            var accordion_head = $('.accordion > li > a'),
				accordion_body = $('.accordion li > .sub-menu');

            // Open the first tab on load

            accordion_head.first().addClass('active').next().slideDown('normal');

            // Click function

            accordion_head.click('click', function (event) {

                // Disable header links

                event.preventDefault();

                // Show and hide the tabs on click

                if ($(this).attr('class') != 'active') {
                    accordion_body.slideUp('normal');
                    $(this).next().stop(true, true).slideToggle('normal');
                    accordion_head.removeClass('active');
                    $(this).addClass('active');
                }

            });

        });

    </script>
    <div style="background-image: url('images/subIndexTop.jpg'); background-repeat: no-repeat;
        height: 63px; width: 978px">
    </div>
    <div id="wrapper-250" style="background-image: url('../images/bg_left.gif'); background-repeat: no-repeat;
        width: 188px; float: left;">
       <%-- <div>
            <table style="width: 100%;">
                <tr>
                    <td colspan="2">
                        <span class="text01">
                            <input id="Text1" class="indexLoginIntext" name="txt_UserName"></span>
                    </td>
                    <td>
                        <input id="Submit2" class="submit" onclick='return checkLeftLogin();WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("LeftLogin1$But_Login", "", true, "", "", false, false))'
                            name="But_Login" value="登 录" type="submit">
                    </td>
                </tr>
                <tr>
                    <td>
                        <span class="text02">
                            <input id="Password2" class="indexLoginIntext" name="txt_PassWord" type="password"></span>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <input class="submit" onclick="location.href='MemberRegister.aspx'" value="注 册" type="button">
                    </td>
                </tr>
                <tr>
                    <td>
                        <a class="forget" href="#">忘记密码？</a>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
        </div>--%>
        <div>
            <img src="images/customerTel.jpg" />
        </div>
    </div>
    <div id="wrapper-750" style="width: 80%; float: right;">
        <table id="Table1" style="width: 100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
                <td>
                    <asp:DataList ID="DataList1" runat="server" RepeatDirection="Horizontal" RepeatColumns="1"
                        Width="100%">
                        <ItemStyle Width="50%" />
                        <ItemTemplate>
                            <div>
                                <table>
                                    <tr>
                                        <td>
                                            <p style="font-weight: bold;">
                                                <%# GetTitleStr(Eval("listTitle"))%></p>
                                        </td>
                                        <td>
                                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日期：<%#DataBinder.Eval(Container.DataItem,"listdate","{0:d}")%>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <%# GetjianjieStr(Eval("listjianjie"))%>
                                            <a target="_blank" href="ListView.aspx?listviewid=<%#DataBinder.Eval(Container.DataItem,"listID")%>&menutype=<%=Request.QueryString["menutype"] %>">
                                                【查看详情】</a>
                                        </td>
                                    </tr>
                                    <%# GetBuyDivStr(Eval("isCanBuy"), Eval("listcount"), Eval("listID"), Eval("listTitle"))%>
                                </table>
                            </div>
                            <hr>
                        </ItemTemplate>
                    </asp:DataList>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="page-pagination clear">
                        <table width="98%">
                            <tr>
                                <td align="center">
                                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                                        CssClass="anpager" CurrentPageButtonClass="cpb" FirstPageText="首页" LastPageText="尾页"
                                        NextPageText="下一页" PrevPageText="上一页">
                                    </webdiyer:AspNetPager>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
